< previous page page_578 next page >

Page 578
It is now commonplace to see Web sites that act more like standard applications than static images. Creating this interactive application environment for a Web site can appear very difficult and confusing. Web programming is still a fairly new area and many people are not yet sure what can and cannot be done in a Web application.
The answer to this is really contained in the development tool you are using. When the topic of Web programming comes up, many different terms come to mind, such as HTML, Perl, CGI, Java, VBScript, and ActiveX Server Pages to name just a few. These are the backbone components of any Web application and are supported by just as many Web development tools, such as Microsoft Visual InterDev and Microsoft FrontPage. Each of these languages and tools has its own strengths and weaknesses.
Today's lesson covers ActiveX documents, which are only one possible option that you have as a Visual Basic programmer creating an Internet application. As you will see, ActiveX documents may not be the best choice for all of your Web needs, but they do make it easy for you to start programming for the Internet.
ActiveX Documents Defined
During this book, you looked at adding a Web browser to your Visual Basic application and reviewed the concepts of HTML and VBScript. However, to understand what an ActiveX document does and how to create it, you need to understand the three levels of HTML/Web processing that exist. The three levels of processing listed in Table 21.1 define when and if any scripting code is executed by a Web page.
TABLE 21.1. THE THREE LEVELS OF WEB PROCESSING.
LevelDescription
SimpleStandard HTML pages without any scripting code
Client SideHTML that contains scripting code that will be executed by the browser
Server SideHTML that contains scripting code that is processed by the server before being sent to the browser

The capability of embedding code in a Web page allows you to create very robust Webbased applications. These applications can be created to run either on the server to retrieve or process information to be displayed, or on the client or browser PC for locally processed information.

 
< previous page page_578 next page >

If you like this book, buy it!